package com.example.test.DAO;

import com.example.test.bean.User;

import java.util.List;

public interface UserDAO {

    int insert(User user);
    int deleteUser(String username);
    int update(User user);
    User queryUser(String username,String password);
    User queryUserName(String username);
    List<User> getAll();
    Object getCount();
}
